<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        h4{
            display: inline-block;
        }
    </style>
</head>
<body>
{% for data in datas %}
<div><h4>班级</h4>:{{ data.class_id }}</div>
<div><h4>班级电脑数</h4>:{{ data.class_computer_num }}</div>
<div><h4>班级名</h4>:{{ data.class_room_name }}</div>
{% endfor %}
</body>
</html>